package com.intelligent.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.intelligent.pojo.SupplierReconciliationDetail;
import com.intelligent.vo.SupplierReconciliationDetailPageReq;
import com.intelligent.vo.SupplierReconciliationDetailResp;


public interface SupplierReconciliationDetailService extends IService<SupplierReconciliationDetail> {

    //分页查询供应商对账明细
    Page<SupplierReconciliationDetailResp> pageDetails(SupplierReconciliationDetailPageReq req);

    //根据ID获取对账明细详情
    SupplierReconciliationDetailResp getDetail(Long id);

    //根据供应商对账单生成对应的供应商对账明细
    void generateFromReconciliation(Long reconciliationId);
}
